
<div id="section-title">
	<div class="wrapper">
		<div class="grid-25 section-title">
			<?php echo $html->link(__('Cancelar', true), array('controller' => 'posts', 'action' => 'dashboard_index', 'type' => 'pages'), array('escape' => false, 'class' => 'right')); ?>
			<h2><?php __('Administrar páginas'); ?></h2>
		</div>
	</div>
</div>


<div id="body">
	<div class="wrapper">
		<div class="content blog-form">
			<?php echo $form->create('Post', array('url' => '/' . $this->params['url']['url'], 'class' => 'vrt')); ?>
			<div class="grid-18">
			
				<?php echo $form->hidden('Post.id'); ?>
				<?php echo $form->input('Post.title', array('type' => 'text', 'label' => __('Titulo', true))); ?>
				<?php echo $form->input('Post.content', array('type' => 'textarea', 'label' => __('Contenido', true))); ?>

			
			</div>
			<div class="grid-7">
				<div class="module-box">
					<div class="module-box-body">
					<?php echo $form->input('Post.state', array('type' => 'select', 'label' => false, 'options' => array(
						'1' => __('publicar ahora', true), // publish now
						'2' => __('añadir a la cola', true), // add to queue
						'3' => __('publicar el...', true), // publish on...
						'4' => __('guardar un borrador', true), // save as draft
						'5' => __('privado', true), // private
					))); ?>
					
					<?php echo $form->input('Post.source_url', array('type' => 'text', 'label' => false, 'placeholder' => 'http://')); ?>
					
					</div>
				</div>

			</div>
			
			<?php echo $form->end(array('label' => __('Crear noticia', true), 'after' => ' ' . $html->link(__('cancelar', true), array('shop' => $this->params['shop'], 'controller' => 'post', 'action' => 'dashboard_index', 'type' => 'blog')))); ?>
		</div>
	</div>
</div>
